#ifndef LED_DRIVER_H
#define LED_DRIVER_H

#include "stm32f10x.h"

/* LED1 -> PA0 */
#define LED1_GPIO       GPIOA
#define LED1_PIN        GPIO_Pin_8
#define LED1            0

/* LED2 -> PC13 */
#define LED2_GPIO       GPIOC
#define LED2_PIN        GPIO_Pin_13
#define LED2            1

void led_init(void);
void led_on (int led);
void led_off(int led);

#endif
